{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}政策详情{% endblock %}

{% block custom_css %}
    <link rel="stylesheet" href="{% static 'css/policy.css' %}">
{% endblock %}
{% block custom_bread %}
    <section class="container">
        <div>
            <ul class="breadcrumb">
                <li><a href="/">首页</a></li>
                <li><a href="{% url 'policy:home' %}">政策展示</a></li>
                <li><a>文章详情</a></li>
            </ul>
        </div>
    </section>
{% endblock %}
{% block content %}

{#    <section class="container policy-banner-module">#}
{#        <h1>{{ banner.title }}</h1>#}
{#        <p class="text-center">{{ banner.pubDate }}</p>#}
{##}
{#        <img class="center-block" src="{{ MEDIA_URL }}{{ banner.pic }}"/>#}
{#        <div class="policy-banner-content">{{ banner.detail }}</div>#}
{#    </section>#}
    <section class="container policy-banner-module">
        <div class="module-content">

            <h1 class="text-center">{{ banner.title }}</h1>
            <p class="text-center">{{ banner.pubDate }}</p>
            <div class="policy-banner-content">
                <img class="center-block" src="{{ MEDIA_URL }}{{ banner.pic }}"/>
                {% autoescape off %}
                    {{ banner.detail }}
                {% endautoescape %}
            </div>

        </div>
    </section>

{% endblock %}